/*
这是操作state的对象
直接更新state的多个方法对象
*/

import {
    RECEIVE_LOGINSTATE,
} from './mutation-types'

export default {//state.XX = XX名称必须保持一致

    [RECEIVE_LOGINSTATE](state, user) {
        state.user = user;
    },
}
